<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$site_info.site_name} {:lang('ADMIN_CENTER')}</title>
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge"/>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta name="robots" content="noindex,nofollow">
    <link rel="stylesheet" href="__PLUGIN_TMPL__/assets/css/style.css">
    <link href="__STATIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
    <section id="content">
        <form class="js-ajax-form" action="{:url('admin/Public/doLogin')}" method="post">
            <h1>后台登录</h1>
            <div>
                <i class="fa fa-user" style="font-size: 28px;"></i>
                <input type="text" id="username" name="username" placeholder="{:lang('USERNAME_OR_EMAIL')}" title="{:lang('USERNAME_OR_EMAIL')}"
                       value="{:cookie('admin_username')}" data-rule-required="true" data-msg-required=""/>
            </div>
            <div>
                <i class="fa fa-lock" style="font-size: 28px;"></i>
                <input type="password" id="password" name="password" placeholder="{:lang('PASSWORD')}" title="{:lang('PASSWORD')}"
                       data-rule-required="true" data-msg-required=""/>
            </div>
            <div>
                <i class="fa fa-shield" style="font-size: 28px;"></i>
                <input type="text" name="captcha" placeholder="验证码" style="width: 130px">
                <captcha height="32" width="150" font-size="18" style="cursor: pointer;float: right;margin-right: 10px;margin-top: 6px"/>
            </div>
            <div>
                <button type="submit" class="js-ajax-submit" data-loadingmsg="{:lang('LOADING')}">{:lang('LOGIN')}</button>
            </div>
        </form>
        <div class="button">
            <a>{$copyright}</a>
        </div>
    </section>
</div>

<script type="text/javascript">
    //全局变量
    var GV = {
        ROOT: "__ROOT__/",
        WEB_ROOT: "__WEB_ROOT__/",
        JS_ROOT: "static/js/",
        APP: ''/*当前应用名*/
    };
</script>
<script src="__STATIC__/js/jquery.js"></script>
<script src="__STATIC__/js/wind.js"></script>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>
